package com.jinbiao.quasar.model;

import lombok.Data;
import org.sagacity.sqltoy.config.annotation.Column;
import org.sagacity.sqltoy.config.annotation.Entity;

import java.sql.Types;

@Data
@Entity(tableName = "sys_dept")
public class SysDept extends BaseModel{
    @Column(name = "parent_code", type = Types.VARCHAR)
    private String parentCode;
    @Column(name = "dept_code", type = Types.VARCHAR)
    private String deptCode;
    @Column(name = "dept_name", type = Types.VARCHAR)
    private String deptName;
    @Column(name = "leader", type = Types.VARCHAR)
    private String leader;
}
